home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re Virtual key up events < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.7 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Virtual key up events
  2. Sent:        6/4/96 11:28 AM
  3. Received:    6/4/96 11:41 AM
  4. From:        Erlend Stav, estav@stud.unit.no
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >At 10:42 AM 6/4/96, Damon Cokenias wrote:
  9. >[how to get KeyUp events]
  10. >
  11. >While you can cause the MacOS to generate keyup events, note that this will
  12. >be process-wide, causing *all* parts to recieve them. Most will probably
  13. >ignore them, but it can still cause problems. To avoid problems, enable the
  14. >keyups only when you get the keyboard focus and reset it to the previous
  15. >value when you lose that focus.
  16. >
  17. >In this case it's possible to avoid conflicts, but not always (like the
  18. >current color manager palette). In general it's better to avoid situations
  19. >which require changing process-wide flags.
  20. >
  21.  
  22. In fact, I was just writing a question about a similiar solution. I guess
  23. there is
  24. some parts around the that would not be too well-behaved if they got key-up
  25. events.
  26.  
  27. Which leads to my next question; as this is an issue that could lead to
  28. cross-platform
  29. incompatibility, wouldn´t it be better if ODF handled this issue for us,
  30. either by
  31. always ensuring that key-up events is enabled while we have keyboard focus, or
  32. by providing a function to turn key-up on/off in a cross platform way and with
  33. a default setting?
  34.  
  35. - Erlend
  36.  
  37. --------------------------------------------------------------
  38. Erlend Stav             Ph. SINTEF   : 22067441 (Tue - Thu)
  39. Hans Osnes v. 8         Ph. IFI/NTNU : 73591844 (Mon & Fri)
  40. N-7030 Trondheim        Ph. Home     : 73945382 (Fri - Mon)
  41. NORWAY                  E-mail       : erlend.stav@ifi.ntnu.no
  42.  
  43.